import { proxybase } from '@/utils/constants'
import request from '@/utils/request'

export function listName(params) {
    return request({
        url: proxybase + 'setting/listName',
        params
    })
}

export function list(params) {
    return request({
        url: proxybase + 'setting/list',
        params
    })
}

export function create(params) {
    return request({
        url: proxybase + 'setting/create',
        method: 'POST',
        data: params,
    })
}

export function modify(params) {
    return request({
        url: proxybase + 'setting/modify',
        method: 'POST',
        data: params,
    })
}

export function remove(params) {
    return request({
        url: proxybase + 'setting/remove',
        params
    })
}